package com.example.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import com.example.mdao.XiaoquecxMapper;
import com.example.model.jdao.XiaoquecxDao;
import com.example.pojo.Xiaoquecx;

@Service
public class XiaoquecxService {
	@Autowired
	private XiaoquecxDao dao;
	@Autowired
	private XiaoquecxMapper mapper;
	//查询
     public Page<Xiaoquecx> findall(Pageable pageable){
		return dao.findAll(pageable);
    }
     //模糊查询
     public List<Xiaoquecx> mohufind(Integer rwid,String rwzt,String qxlx,String qxjb,String gzdj,String xfdate){
		
    	 return mapper.mohufindall(rwid, rwzt, qxlx, qxjb, gzdj, xfdate);
     }
}
